module DengHaiLightTools
  def self.save_mvr_file
    save_path = UI.savepanel('导出mvr格式', './', 'MVR文件 | *.mvr')
    return unless save_path

    save_path += '.mvr' if File.extname(save_path).casecmp('.mvr') != 0
    help_export_mvr(Sketchup.active_model.active_entities, save_path)
  end
end
